use error::AppErr;


mod error;
mod config;
mod serve;
mod utils;
mod store;


#[tokio::main]
async fn main() -> Result<(), AppErr> {
    config::init();
    store::init().await?;
    serve::run().await?;
    Ok(())
}

